package com.yang.trainingCamp.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TrainingCampOrder {
    @TableId(type = IdType.ASSIGN_UUID)
    private String Id;
    private int type;
    @TableField(exist = false)
    private String CamperId;
    private String CustomerId;
    private String CustomerName;
    private String NextPersonId;
    private String NextPersonName;
    private String TrainingCampProducts;
    private int State;
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
    @TableField(fill = FieldFill.DEFAULT)
    private Date updateAt;

    public String getId() {
        return Id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCamperId() {
        return CamperId;
    }

    public void setCamperId(String camperId) {
        CamperId = camperId;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getCustomerId() {
        return CustomerId;
    }

    public void setCustomerId(String customerId) {
        CustomerId = customerId;
    }

    public String getCustomerName() {
        return CustomerName;
    }

    public void setCustomerName(String customerName) {
        CustomerName = customerName;
    }

    public String getNextPersonId() {
        return NextPersonId;
    }

    public void setNextPersonId(String nextPersonId) {
        NextPersonId = nextPersonId;
    }

    public String getNextPersonName() {
        return NextPersonName;
    }

    public void setNextPersonName(String nextPersonName) {
        NextPersonName = nextPersonName;
    }

    public String getTrainingCampProducts() {
        return TrainingCampProducts;
    }

    public void setTrainingCampProducts(String trainingCampProducts) {
        TrainingCampProducts = trainingCampProducts;
    }

    public int getState() {
        return State;
    }

    public void setState(int state) {
        State = state;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }
}
